package com.xywl.escort.view.pay;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.AddCashFlowReq;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.PayApplyResp;
import com.xywl.escort.bean.ProductPayApplyReq;

public interface VerifyPayPwdContract {

    interface Presenter extends BasePresenter {
        void takeView(VerifyPayPwdContract.View view);

        void verifyPayPwd(String userId, String payPwd);

        void payApply(String id, String payPwd);

        void addCashFlow(AddCashFlowReq req);

        void productPayApply(ProductPayApplyReq req, String payPwd);
    }

    interface View extends BaseView<Presenter> {
        void verifyPayPwdSuccess();

        void verifyPayPwdFailure(String msg);

        void payApplySuccess(String data, String payPwd);

        void payApplyFailure(String msg, String payPwd);

        void productPayApplySuccess(String data, String payPwd);

        void productPayApplyFailure(String msg, String payPwd);

        void addCashFlowSuccess(BaseResp resp);

        void addCashFlowFailure(String msg);
    }
}